package com.ruoyi.sys.vehile.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 月卡列对象 tb_month_card_list
 *
 * @author ruoyi
 * @date 2022-05-24
 */
public class TbMonthCardList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long mcId;

    /** 月卡编号 */
    @Excel(name = "月卡编号")
    private String mcOrderid;

    /** 车主名字（可通过车主编号获取） */
    @Excel(name = "车主名字", readConverterExp = "可=通过车主编号获取")
    private String mcName;

    /** 车主电话（可通过车主编号获取） */
    @Excel(name = "车主电话", readConverterExp = "可=通过车主编号获取")
    private String mcPhone;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String mcNum;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mcStartdate;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mcEnddate;

    /** 车主编号 */
    @Excel(name = "车主编号")
    private Long pId;

    /** 车位类型（0：内部车位 1：普通车位）（可通过月卡缴费编号获取） */
    @Excel(name = "车位类型", readConverterExp = "0=：内部车位,1=：普通车位")
    private Long mcType;

    /** 车位编号 */
    @Excel(name = "车位编号")
    private Long mcNumber;

    /** 状态（0：正常1：即将到期2：已过期） */
    @Excel(name = "状态", readConverterExp = "0=：正常1：即将到期2：已过期")
    private Long mcState;

    /** 月卡缴费编号（和tb_month_payment关联） */
    @Excel(name = "月卡缴费编号", readConverterExp = "和=tb_month_payment关联")
    private Long mpId;

    public void setMcId(Long mcId)
    {
        this.mcId = mcId;
    }

    public Long getMcId()
    {
        return mcId;
    }
    public void setMcOrderid(String mcOrderid)
    {
        this.mcOrderid = mcOrderid;
    }

    public String getMcOrderid()
    {
        return mcOrderid;
    }
    public void setMcName(String mcName)
    {
        this.mcName = mcName;
    }

    public String getMcName()
    {
        return mcName;
    }
    public void setMcPhone(String mcPhone)
    {
        this.mcPhone = mcPhone;
    }

    public String getMcPhone()
    {
        return mcPhone;
    }
    public void setMcNum(String mcNum)
    {
        this.mcNum = mcNum;
    }

    public String getMcNum()
    {
        return mcNum;
    }
    public void setMcStartdate(Date mcStartdate)
    {
        this.mcStartdate = mcStartdate;
    }

    public Date getMcStartdate()
    {
        return mcStartdate;
    }
    public void setMcEnddate(Date mcEnddate)
    {
        this.mcEnddate = mcEnddate;
    }

    public Date getMcEnddate()
    {
        return mcEnddate;
    }
    public void setpId(Long pId)
    {
        this.pId = pId;
    }

    public Long getpId()
    {
        return pId;
    }
    public void setMcType(Long mcType)
    {
        this.mcType = mcType;
    }

    public Long getMcType()
    {
        return mcType;
    }
    public void setMcNumber(Long mcNumber)
    {
        this.mcNumber = mcNumber;
    }

    public Long getMcNumber()
    {
        return mcNumber;
    }
    public void setMcState(Long mcState)
    {
        this.mcState = mcState;
    }

    public Long getMcState()
    {
        return mcState;
    }
    public void setMpId(Long mpId)
    {
        this.mpId = mpId;
    }

    public Long getMpId()
    {
        return mpId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mcId", getMcId())
            .append("mcOrderid", getMcOrderid())
            .append("mcName", getMcName())
            .append("mcPhone", getMcPhone())
            .append("mcNum", getMcNum())
            .append("mcStartdate", getMcStartdate())
            .append("mcEnddate", getMcEnddate())
            .append("pId", getpId())
            .append("mcType", getMcType())
            .append("mcNumber", getMcNumber())
            .append("mcState", getMcState())
            .append("mpId", getMpId())
            .toString();
    }
}
